<template>
  <div id="app">
    <h1>我是父组件App我的数据是：{{message}}</h1>
    <son :message="message"></son>
  </div>
</template>
<script>
import son from "@/components/son.vue";
export default {
  name:"App",
  data(){
    return{
      message:"helloVue"
    }
  },
  components:{
    son,
  }
}
</script>
<style lang="less">
#app{
  background-color: chocolate;
}
</style>
